3.1284 \(\int \frac{(1-2 x)^2 (3+5 x)^3}{(2+3 x)^4} \, dx\)

Optimal. Leaf size=56 \[ \frac{250 x^2}{81}-\frac{2800 x}{243}+\frac{4099}{729 (3 x+2)}-\frac{763}{1458 (3 x+2)^2}+\frac{49}{2187 (3 x+2)^3}+\frac{8285}{729} \log (3 x+2) \]

[Out]

(-2800*x)/243 + (250*x^2)/81 + 49/(2187*(2 + 3*x)^3) - 763/(1458*(2 + 3*x)^2) + 4099/(729*(2 + 3*x)) + (8285*L
og[2 + 3*x])/729

________________________________________________________________________________________

Rubi [A]  time = 0.0240618, antiderivative size = 56, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.045, Rules used = {88} \[ \frac{250 x^2}{81}-\frac{2800 x}{243}+\frac{4099}{729 (3 x+2)}-\frac{763}{1458 (3 x+2)^2}+\frac{49}{2187 (3 x+2)^3}+\frac{8285}{729} \log (3 x+2) \]

Antiderivative was successfully verified.

[In]

Int[((1 - 2*x)^2*(3 + 5*x)^3)/(2 + 3*x)^4,x]

[Out]

(-2800*x)/243 + (250*x^2)/81 + 49/(2187*(2 + 3*x)^3) - 763/(1458*(2 + 3*x)^2) + 4099/(729*(2 + 3*x)) + (8285*L
og[2 + 3*x])/729

Rule 88

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandI
ntegrand[(a + b*x)^m*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, p}, x] && IntegersQ[m, n] &&
(IntegerQ[p] || (GtQ[m, 0] && GeQ[n, -1]))

Rubi steps

\begin{align*} \int \frac{(1-2 x)^2 (3+5 x)^3}{(2+3 x)^4} \, dx &=\int \left (-\frac{2800}{243}+\frac{500 x}{81}-\frac{49}{243 (2+3 x)^4}+\frac{763}{243 (2+3 x)^3}-\frac{4099}{243 (2+3 x)^2}+\frac{8285}{243 (2+3 x)}\right ) \, dx\\ &=-\frac{2800 x}{243}+\frac{250 x^2}{81}+\frac{49}{2187 (2+3 x)^3}-\frac{763}{1458 (2+3 x)^2}+\frac{4099}{729 (2+3 x)}+\frac{8285}{729} \log (2+3 x)\\ \end{align*}

Mathematica [A]  time = 0.0330625, size = 51, normalized size = 0.91 \[ -\frac{-364500 x^5+631800 x^4+3304800 x^3+3623454 x^2+1540539 x-49710 (3 x+2)^3 \log (30 x+20)+222904}{4374 (3 x+2)^3} \]

Antiderivative was successfully verified.

[In]

Integrate[((1 - 2*x)^2*(3 + 5*x)^3)/(2 + 3*x)^4,x]

[Out]

-(222904 + 1540539*x + 3623454*x^2 + 3304800*x^3 + 631800*x^4 - 364500*x^5 - 49710*(2 + 3*x)^3*Log[20 + 30*x])
/(4374*(2 + 3*x)^3)

________________________________________________________________________________________

Maple [A]  time = 0.007, size = 45, normalized size = 0.8 \begin{align*} -{\frac{2800\,x}{243}}+{\frac{250\,{x}^{2}}{81}}+{\frac{49}{2187\, \left ( 2+3\,x \right ) ^{3}}}-{\frac{763}{1458\, \left ( 2+3\,x \right ) ^{2}}}+{\frac{4099}{1458+2187\,x}}+{\frac{8285\,\ln \left ( 2+3\,x \right ) }{729}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-2*x)^2*(3+5*x)^3/(2+3*x)^4,x)

[Out]

-2800/243*x+250/81*x^2+49/2187/(2+3*x)^3-763/1458/(2+3*x)^2+4099/729/(2+3*x)+8285/729*ln(2+3*x)

________________________________________________________________________________________

Maxima [A]  time = 1.568, size = 62, normalized size = 1.11 \begin{align*} \frac{250}{81} \, x^{2} - \frac{2800}{243} \, x + \frac{221346 \, x^{2} + 288261 \, x + 93896}{4374 \,{\left (27 \, x^{3} + 54 \, x^{2} + 36 \, x + 8\right )}} + \frac{8285}{729} \, \log \left (3 \, x + 2\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(3+5*x)^3/(2+3*x)^4,x, algorithm="maxima")

[Out]

250/81*x^2 - 2800/243*x + 1/4374*(221346*x^2 + 288261*x + 93896)/(27*x^3 + 54*x^2 + 36*x + 8) + 8285/729*log(3
*x + 2)

________________________________________________________________________________________

Fricas [A]  time = 1.49909, size = 216, normalized size = 3.86 \begin{align*} \frac{364500 \, x^{5} - 631800 \, x^{4} - 2235600 \, x^{3} - 1485054 \, x^{2} + 49710 \,{\left (27 \, x^{3} + 54 \, x^{2} + 36 \, x + 8\right )} \log \left (3 \, x + 2\right ) - 114939 \, x + 93896}{4374 \,{\left (27 \, x^{3} + 54 \, x^{2} + 36 \, x + 8\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(3+5*x)^3/(2+3*x)^4,x, algorithm="fricas")

[Out]

1/4374*(364500*x^5 - 631800*x^4 - 2235600*x^3 - 1485054*x^2 + 49710*(27*x^3 + 54*x^2 + 36*x + 8)*log(3*x + 2)
- 114939*x + 93896)/(27*x^3 + 54*x^2 + 36*x + 8)

________________________________________________________________________________________

Sympy [A]  time = 0.133162, size = 46, normalized size = 0.82 \begin{align*} \frac{250 x^{2}}{81} - \frac{2800 x}{243} + \frac{221346 x^{2} + 288261 x + 93896}{118098 x^{3} + 236196 x^{2} + 157464 x + 34992} + \frac{8285 \log{\left (3 x + 2 \right )}}{729} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)**2*(3+5*x)**3/(2+3*x)**4,x)

[Out]

250*x**2/81 - 2800*x/243 + (221346*x**2 + 288261*x + 93896)/(118098*x**3 + 236196*x**2 + 157464*x + 34992) + 8
285*log(3*x + 2)/729

________________________________________________________________________________________

Giac [A]  time = 1.90835, size = 50, normalized size = 0.89 \begin{align*} \frac{250}{81} \, x^{2} - \frac{2800}{243} \, x + \frac{221346 \, x^{2} + 288261 \, x + 93896}{4374 \,{\left (3 \, x + 2\right )}^{3}} + \frac{8285}{729} \, \log \left ({\left | 3 \, x + 2 \right |}\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(3+5*x)^3/(2+3*x)^4,x, algorithm="giac")

[Out]

250/81*x^2 - 2800/243*x + 1/4374*(221346*x^2 + 288261*x + 93896)/(3*x + 2)^3 + 8285/729*log(abs(3*x + 2))